﻿using FastCodeGeneration.Core.Framework;
using FastCodeGeneration.Entity;
using FastCodeGeneration.IRepository;
using FastCodeGeneration.IService;
using FastCodeGeneration.Repository;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FastCodeGeneration.Service
{
    public class TemplateService : BaseServices<ITemplateRepository, Template>, ITemplateService
    {
        public TemplateService(ITemplateRepository templateRepository) : base(templateRepository)
        {
        }

        public IPage<Template> SelectByCondition(Condition condition)
        {
            return _repository.SelectByCondition(condition);
        }
    }
}
